@fieldwangai/agentflow 0.1.50 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/lib/ui-server.mjs +6 -1
- package/builtin/web-ui/dist/assets/index-CGls6aTE.js +238 -0
- package/builtin/web-ui/dist/assets/{index-CP_UFJ5h.css → index-DlZeY5p1.css} +1 -1
- package/builtin/web-ui/dist/index.html +2 -2
- package/package.json +1 -1
- package/builtin/web-ui/dist/assets/index-BFA38FD5.js +0 -238
package/bin/lib/ui-server.mjs
CHANGED
|
@@ -1327,11 +1327,16 @@ function publicDisplayPayloadFromShare(root, share) {
|
|
|
1327
1327
|
}, { userId: share.userId || "" });
|
|
1328
1328
|
if (scoped.error) return { error: scoped.error };
|
|
1329
1329
|
const { graph } = readWorkspaceGraph(scoped.root);
|
|
1330
|
-
const nodeIds = normalizeDisplayShareNodeIds(share.nodeIds, graph);
|
|
1331
1330
|
const instances = graph.instances || {};
|
|
1332
1331
|
const displayPage = graph.ui && typeof graph.ui === "object" && graph.ui.displayPage && typeof graph.ui.displayPage === "object"
|
|
1333
1332
|
? graph.ui.displayPage
|
|
1334
1333
|
: {};
|
|
1334
|
+
const sharedNodeIds = normalizeDisplayShareNodeIds(share.nodeIds, graph);
|
|
1335
|
+
const hasDisplayPageNodeIds = Array.isArray(displayPage.nodeIds);
|
|
1336
|
+
const displayPageNodeIds = normalizeDisplayShareNodeIds(displayPage.nodeIds, graph);
|
|
1337
|
+
const nodeIds = share.layout === "canvas" && hasDisplayPageNodeIds
|
|
1338
|
+
? displayPageNodeIds
|
|
1339
|
+
: sharedNodeIds;
|
|
1335
1340
|
const displayPageSizes = displayPage.nodeSizes && typeof displayPage.nodeSizes === "object" ? displayPage.nodeSizes : {};
|
|
1336
1341
|
const displayPagePositions = displayPage.nodePositions && typeof displayPage.nodePositions === "object" ? displayPage.nodePositions : {};
|
|
1337
1342
|
const displayPageViewport = displayPage.viewport && typeof displayPage.viewport === "object"
|